package com.b.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.b.domain.ProductEvaluation;
import com.b.dao.ProductEvaluationMapper;
import com.b.service.ProductEvaluationService;
import java.util.List;
@Service
public class ProductEvaluationServiceImpl implements ProductEvaluationService{

    @Resource
    private ProductEvaluationMapper productEvaluationMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return productEvaluationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ProductEvaluation record) {
        return productEvaluationMapper.insert(record);
    }

    @Override
    public int insertSelective(ProductEvaluation record) {
        return productEvaluationMapper.insertSelective(record);
    }

    @Override
    public ProductEvaluation selectByPrimaryKey(Integer id) {
        return productEvaluationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ProductEvaluation record) {
        return productEvaluationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProductEvaluation record) {
        return productEvaluationMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<ProductEvaluation> getAll() {
        return productEvaluationMapper.getAll();
    }
}
